package com.hinnotek.amoeba.ui.activity.old

import android.os.Bundle
import android.view.*
import com.lee.common.base.BaseActivity
import com.hinnotek.amoeba.R
import com.hinnotek.amoeba.databinding.ActivityTechnologyInstallListBinding
import com.hinnotek.amoeba.utilities.IntentUtils
import com.hinnotek.amoeba.utilities.ToastUtils


class TechnologyInstallListActivity : BaseActivity<ActivityTechnologyInstallListBinding>(), View.OnClickListener {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setLeftVisible(true)
        setTitle("技术列表")

        setContentView(R.layout.activity_technology_install_list)
    }

    override fun initVew() {
        bindingView.rlTechnologyAmoebaInstall.setOnClickListener(this)
        bindingView.rlTechnologyAmoebaInstall.setOnClickListener(this)
    }

    override fun setData() {}
    override fun onClick(v: View) {
        when (v.id) {
            R.id.rl_technology_internal_install -> ToastUtils.show(mContext, "功能尚未完善")
            R.id.rl_technology_amoeba_install -> IntentUtils.startActivity(
                mContext,
                TIOtherAmoebaInstallListActivity::class.java
            )
        }
    }
}